package com.zeekr.myroomtest

import android.app.Application
import com.zeekr.myroomtest.room.ItemRoomDatabase

class InventoryApplication : Application() {
    companion object {
        lateinit var instance: InventoryApplication
    }

    val database: ItemRoomDatabase by lazy { ItemRoomDatabase.getDatabase(this) }


    override fun onCreate() {
        super.onCreate()

        instance = this
    }
}